package com.paranoidmonkey.ode;

public class ODEObject {
	protected long handle;
	
	protected ODEObject(){
		handle=0;
	}
	
	public boolean equals(Object o){
		if (o instanceof ODEObject) {
			if (((ODEObject)o).handle==handle){
				return true;
			}
		}
		return false;
	}

	public long getHandle(){
		return handle;
	}
	
	public boolean isNull(){
		return (handle==0);
	}
}
